const dotenv = require('dotenv');
dotenv.config();
module.exports = {
  development: {
    username: process.env.DEV_DB_USERNAME,
    port: 3306,
    password: process.env.DEV_DB_KEY,
    database: 'intellectual-property',
    host: process.env.DEV_DB_HOST,
    dialect: 'mysql',
    timezone: '+08:00',
  },
  test: {
    username: 'root',
    password: 'sure',
    database: 'graduate',
    host: '127.0.0.1',
    dialect: 'mysql',
    timezone: '+08:00',
  },
  production: {
    username: process.env.PRO_DB_USERNAME,
    port: 3306,
    password: process.env.PRO_DB_KEY,
    database: 'intellectual-property',
    host: process.env.PRO_DB_HOST,
    dialect: 'mysql',
    timezone: '+08:00',
  },
};
